package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑",2,"黑色");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick = new Chick("小花",1,"黄色");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish = new Fish("小白",2,"金色");
        fish.eat();
        fish.drink();
    }
}
